<?php

namespace App\model;

use Illuminate\Database\Eloquent\Model;

/**
 * App\model\WorkshopContact
 *
 * @property int $id
 * @property string|null $contact_name
 * @property string|null $contact_tel
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property int|null $workshop_id
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\WorkshopContact newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\WorkshopContact newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\WorkshopContact query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\WorkshopContact whereContactName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\WorkshopContact whereContactTel($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\WorkshopContact whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\WorkshopContact whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\WorkshopContact whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\WorkshopContact whereWorkshopId($value)
 * @mixin \Eloquent
 * @property string|null $isDisabled
 * @property-write mixed $is_disabled
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\WorkshopContact whereIsDisabled($value)
 * @property string|null $company_name
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\WorkshopContact whereCompanyName($value)
 */
class WorkshopContact extends Model
{
    protected $table='workshop_contact';

    public function setisDisabledAttribute($value)
    {
        $this->attributes['isDisabled'] = (string)$value ;
    }
}
